package com.example.demo.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;


@Component("sysRole.model")
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
@Entity(name = "sysRole")
@Table(name = "sys_role")
public class SysRoleModel extends Model implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	
	/**   **/
	private String  roleName;
	
  
    
    @Column(name = "role_name")
    public String getRoleName() {
        return StringUtils.isBlank(roleName) ? roleName : roleName.trim();
    }
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
    
    
 
    
    
}